home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-04 / filxrf.zip / DEMO.BAT < prev    next >
DOS Batch File  |  1991-10-01  |  4KB  |  100 lines

  1. ECHO OFF
  2. CLS
  3. if [%1]==[] goto NODRIVE
  4. set DR=%1
  5. goto OK1
  6. :NODRIVE
  7. ECHO Usage:
  8. ECHO   When running this, select the path containing the source code
  9. ECHO   to be cross referenced by the demo.
  10. ECHO   Example:      DEMO C:\SOURCE
  11. ECHO     or          DEMO A:
  12. goto NGexit
  13. :OK1
  14. ECHO ******************************************************************
  15. ECHO              Demonstration of FileXref Version 1.3
  16. ECHO         A New Type of Cross Reference Tool for Programmers
  17. ECHO ******************************************************************
  18. ECHO                            -
  19. ECHO A utility named FileList will be used to create the list of your
  20. ECHO source files to be read by the demo.
  21. ECHO ******************************************************************
  22. ECHO Then FileXref will scan those files producing:
  23. ECHO                            -
  24. ECHO    A file usage report file, in both extended and condensed format
  25. ECHO    so you can see which format you would prefer  ... and...
  26. ECHO                            -
  27. ECHO    a word usage report file of symbols beginning with the letters
  28. ECHO    "re", but excluding the words "read" and "real" to demonstrate
  29. ECHO    symbol inclusion and exclusion capabilities.
  30. ECHO ******************************************************************
  31. PAUSE
  32. CLS
  33. ECHO ******************************************************************
  34. ECHO FileList is now creating the list of files to be read ...
  35. FILELIST  %DR% > FileXref.FSL
  36. ECHO ******************************************************************
  37. ECHO Press enter to begin scanning and cross referencing the list of
  38. ECHO files. this will process data at about 3,500 characters/second on
  39. ECHO a 286. This is about five minutes per megabyte of source
  40. ECHO code.
  41. ECHO ******************************************************************
  42. PAUSE
  43. CLS
  44. FileXref  /RPTB
  45. ECHO ******************************************************************
  46. ECHO Press Enter to see the FileXref statistics:
  47. ECHO ******************************************************************
  48. PAUSE
  49. CLS
  50. TYPE FileXref.MSG | MORE
  51. ECHO ******************************************************************
  52. PAUSE
  53. CLS
  54. ECHO ******************************************************************
  55. ECHO                            -
  56. ECHO The following Report files were produced:
  57. ECHO      1. List of unreferenced files
  58. ECHO      2. Condensed file usage report
  59. ECHO            (all files assumed to be in the same subdirectory,
  60. ECHO             seven references printed per line)
  61. ECHO      3. Condensed word usage report
  62. ECHO            (all files assumed to be in the same subdirectory,
  63. ECHO             five references printed per line)
  64. ECHO      4. File usage report
  65. ECHO            (files assumed to be on separate directories,
  66. ECHO             one reference printed per line)
  67. ECHO      5. Word usage report
  68. ECHO            (files assumed to be on separate directories,
  69. ECHO             one reference printed per line)
  70. ECHO ******************************************************************
  71. PAUSE
  72. CLS
  73. ECHO ******************************************************************
  74. ECHO This concludes the FileXref demonstration.
  75. ECHO                            -
  76. ECHO See the README.DOC file for more information.
  77. ECHO                            -
  78. ECHO Thanks for supporting shareware!
  79. ECHO ******************************************************************
  80. ECHO If you have a printer and wish to print the output reports,
  81. ECHO position your printer to top of page and turn it on now.
  82. ECHO If not, you may view the report file (FILEXREF.RPT) at your
  83. ECHO monitor.
  84. ECHO                            -
  85. ECHO The number of printed pages will depend on the number of source
  86. ECHO files examined and the frequency of cross referencing
  87. ECHO between them. A minimum of five pages will be generated.
  88. ECHO                            -
  89. ECHO [Ctrl+Break] at any time to stop the printing.
  90. ECHO ******************************************************************
  91. PAUSE
  92. ECHO ******************************************************************
  93. ECHO Printing the FileXref processing statistics ...
  94. TYPE FILEXREF.MSG > PRN
  95. ECHO Printing the FileXref cross-reference reports ...
  96. TYPE FILEXREF.RPT > PRN
  97. ECHO End of demonstration.
  98. ECHO ******************************************************************
  99. :NGexit
  100.